﻿//<TunynetCopyright>
//--------------------------------------------------------------
//<copyright>青岛拓宇网络科技有限公司 2005-2008</copyright>
//<version>V0.5</verion>
//<createdate>2008-4-21</createdate>
//<author>xier</author>
//<email>xier@tunynet.com</email>
//<log date="2008-4-21">创建</log>
//--------------------------------------------------------------
//</TunynetCopyright>

using System;
using System.Collections.Generic;
using System.Text;
using System.Workflow.ComponentModel.Design;

namespace ChinaCustoms.Qingdao.Workflow.Activities
{
    /// <summary>
    /// 海关工作流对象的外观设计器
    /// </summary>
    public class ChinaCustomsSequentialWorkflowDesigner : SequentialWorkflowRootDesigner
    {
        /// <summary>
        /// 显示的标题内容
        /// </summary>
        protected override SequentialWorkflowHeaderFooter Header
        {
            get
            {
                base.Header.Text = "海关工作流设计器";
                return base.Header;
            }
        }

        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="activity"></param>
        protected override void Initialize(System.Workflow.ComponentModel.Activity activity)
        {
            base.Initialize(activity);
            this.HelpText = "从工具箱中拖放活动到此处";
        }

        /// <summary>
        /// 禁止显示出现在工作流中的 Cancle,Exception等事件的智能标记
        /// </summary>
        protected override bool ShowSmartTag
        {
            get
            {
                return false;
            }
        }
    }
}
